package booroo.basic;

import java.util.Scanner;

public class J03_GuGuDan {

	public static void main(String[] args) {
		Scanner sc=null;
		int num;
		sc=new Scanner(System.in);
		System.out.println("1~9까지 숫자중 하나를 입력하세요 :");
		num=sc.nextInt();
		sc.close();
		if(num>9){System.out.println("잘못 입력하셨습니다");}
		else {
			System.out.println(num+" x 1= "+(num*1));
			System.out.println(num+" x 2= "+(num*2));
			System.out.println(num+" x 3= "+(num*3));
			System.out.println(num+" x 4= "+(num*4));
			System.out.println(num+" x 5= "+(num*5));
			System.out.println(num+" x 6= "+(num*6));
			System.out.println(num+" x 7= "+(num*7));
			System.out.println(num+" x 8= "+(num*8));
			System.out.println(num+" x 9= "+(num*9));
		}
		

	}

}
